
package com.gome.bg.util.rbToATG;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 2.2.7
 * Wed Mar 26 17:05:26 CST 2014
 * Generated source version: 2.2.7
 * 
 */

public final class RefundAuditServerInterface_RefundAuditServerInterfacePort_Client {

    private static final QName SERVICE_NAME = new QName("http://server.refund.rb.ws.Interface.commerce.gome.com/", "RefundAuditServerInterfaceService");

    private RefundAuditServerInterface_RefundAuditServerInterfacePort_Client() {
    }

    public static void main(String args[]) throws Exception {
        URL wsdlURL = RefundAuditServerInterfaceService.WSDL_LOCATION;
        if (args.length > 0) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        RefundAuditServerInterfaceService ss = new RefundAuditServerInterfaceService(wsdlURL, SERVICE_NAME);
        RefundAuditServerInterface port = ss.getRefundAuditServerInterfacePort();  
        
        {
        System.out.println("Invoking isCallSuccess...");
        com.gome.bg.util.rbToATG.RefundAuditResult _isCallSuccess_refundAuditResult = null;
        com.gome.bg.util.rbToATG.RefundAuditResultReply _isCallSuccess__return = port.isCallSuccess(_isCallSuccess_refundAuditResult);
        System.out.println("isCallSuccess.result=" + _isCallSuccess__return);


        }

        System.exit(0);
    }

}
